//
//  CTPCityModel.h
//  citipad
//
//  Created by Chih Yuan Liu on 3/15/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CTPCity.h"
#import "FMDatabase.h"

@interface CTPCityModel : NSObject {
	FMDatabase* mydb;
	NSMutableArray * array;
}

-(void) loadIntoArray;
-(void) createDB;
-(void) removeCity:(CTPCity*)city;
-(void) addCity:(CTPCity*)city;

-(NSInteger) GetCount;
-(CTPCity*) GetItemAtIndex:(int)index;

@end
